package com.tudou.geo.dao;

import java.util.List;

import org.springframework.stereotype.Component;

import com.tudou.geo.dao.support.BaseDao;
import com.tudou.geo.model.Dig;

@Component
public class DigDao extends BaseDao {
	
	@SuppressWarnings("unchecked")
	public List<Dig> queryDigByCity(String city){
		return (List<Dig>)readClient.queryForList("geo.queryDigByCity",city);
	}
}
